.RealChatItem {
  display: flex;
  margin-bottom: 20px;

  &-System {
    // display: flex;
    // align-items: center;
    // justify-content: center;
    margin: 0 auto;

    &-Message {
      padding: 0px 20px;
      color: #fff;
      background: #666;
      border-radius: 10px;
    }
  }

  &-userImg {
    width: 60px;
    height: 60px;
    background: #ccc;
    border-radius: 50%;
    margin: 0 10px;
  }

  &-Info {
    // flex: 1;
    display: flex;
    flex-direction: column;

    &-userName {
      font-size: 18px;
      padding: 0 5px;
    }

    &-Message {
      flex: 1;
      max-width: 600px;
      padding: 10px;
      border-radius: 15px;
      border: 1px solid #ccc;
    }
  }
}

.self {
  flex-direction: row-reverse;

  .RealChatItem-Info-userName {
    font-size: 18px;
    text-align: end;
  }
}